%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Scenario 8.5 Bank clerks
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Scenario 8.5 Bank clerks}

This scenario is about a bank clerk withdrawing cash for a customer. In figure \ref{fig:seq_UC5_Consult_bank_account_overview_Bank_clerk} on page \pageref{fig:seq_UC5_Consult_bank_account_overview_Bank_clerk} it is illustrated how the bank clerk gets an overview of the customer's accounts.

In figure \ref{fig:seq_8_5_Bank_clerks_Withdraw_cash} on page \pageref{fig:seq_8_5_Bank_clerks_Withdraw_cash} it is illustrated how the bank clerk withdraws the cash for the customer. 

Note that the cash withdrawal is converted into a Transaction. Once the Transaction is handed to the \emph{Transaction Processing System} it is handled according to the diagram in figure \ref{fig:seq_UC11_Execute_transaction} on page \pageref{fig:seq_UC11_Execute_transaction}. The \emph{Bank Clerk Module} keeps waiting for the \emph{Transaction Processing System} until a positive reply is received, indicating that the withdrawal debit is processed correctly. Only then the withdrawal is acknowledged. Because cash withdrawals get a high priority the wait is very short; 95\% of all withdrawals are confirmed within 20 seconds.


The use cases touched in this scenario are:
\begin{itemize}
 \item UC4: Select customer
 \item UC5: Consult bank account overview
 \item UC8: Withdraw cash
 \item UC11: Execute transaction
\end{itemize}


\begin{figure}[!ht]
    \centering
        \includegraphics[width=1.0\textwidth]{Scenarios/scenario_img/UC5_Consult_bank_account_overview_Bank_clerk.png}
    \caption{Bank clerk consult account overview}
    \label{fig:seq_UC5_Consult_bank_account_overview_Bank_clerk}
\end{figure}



\begin{figure}[!ht]
    \centering
        \includegraphics[width=1.0\textwidth]{Scenarios/scenario_img/8_5_Bank_clerks_Withdraw_cash.png}
    \caption{Bank clerk cash withdraw}
    \label{fig:seq_8_5_Bank_clerks_Withdraw_cash}
\end{figure}